package com.keyue.domain.vo.admin;

import lombok.*;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Set;

/**
 * @author makejava
 * @since 2023-08-30 17:51:48
 */
@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@SuperBuilder
public class AdminAuthRoleVO implements Serializable {

    /**
     * 角色id
     */
    @NotNull(message = "角色id不能为空")
    private Long roleId;

    /**
     * 菜单id
     */
    @NotNull(message = "菜单ids不能为空")
    private Set<Long> menuIds;
}
